home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: newsfeeds.ans.net!butch!enterprise!news
- From: Bentley_Joe@mm.rdd.lmsc.lockheed.com (Joe Bentley)
- Subject: Re: simple problem
- Message-ID: <Bentley_Joe-0703961505580001@129.197.157.33>
- Sender: news@enterprise.rdd.lmsc.lockheed.com (News Administrator)
- Organization: HRD - Technical Training Lockheed
- References: <4hkosd$p3p@mn5.swip.net>
- Date: Thu, 7 Mar 96 20:59:50 GMT
-
- That's an easy one. You must identify the type of each parameter in the header.
- Your code should look like:
-
- int knapp(int x1, int y1, int x2, int y2)
- {
- ...
-
-
-
-
-
- In article <4hkosd$p3p@mn5.swip.net>, daniel.lundin@mailbox.swipnet.se
- (Daniel MarjamΣki) wrote:
-
- > Hallo!
- >
- > I want more parameters than two in one of my functions, how do I do?
- > I get an errormassage when I run the following function :
- >
- > int knapp(int x1,y1,x2,y2)
- > {
- > rectangle(x1,y1,x2,y2);
- > }
- >
- >
- > Daniel.lundin@mailbox.swipnet.se
-